#ifndef __SPLITTOOL_H__
#define __SPLITTOOL_H__

#include <vector>
#include <string>
#include "cppjieba/Jieba.hpp"
using namespace std;

const char *const DICT_PATH = "cppjieba/dict/jieba.dict.utf8";
const char *const HMM_PATH = "cppjieba/dict/hmm_model.utf8";
const char *const USER_DICT_PATH = "cppjieba/dict/user.dict.utf8";
const char *const IDF_PATH = "cppjieba/dict/idf.utf8";
const char *const STOP_WORD_PATH = "cppjieba/dict/stop_words.utf8";

class SplitTool
{
public:
    SplitTool();
    vector<string> cut(string &s);
    void getStopWords();
    void removeStopWords();
    void print() const;
private:
    cppjieba::Jieba jieba;
    vector<string> _result;
    vector<string> _stopWords;
};

#endif